package com.example.easyexcel.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 复杂头用户实体
 *
 * @author tu228
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
@Builder
public class ComplexHeadUser {

    @ExcelProperty(value = {"基本信息","用户编号"}, index = 0)
    private Integer userId;
    @ExcelProperty(value = {"基本信息","姓名"}, index = 1)
    private String userName;
    @ExcelProperty(value = {"基本信息","性别"}, index = 2)
    private String gender;
    @ExcelProperty(value = {"附加信息","工资"}, index = 3)
    private Double salary;
    @ExcelProperty(value = {"附加信息","入职时间"}, index = 4)
    private Date hireDate;

}

